package com.ruoyi.service.impl;

import com.ruoyi.domain.Ability_InstitutionInfor;
import com.ruoyi.mapper.Ability_InstitutionInforMapper;
import com.ruoyi.service.Ability_InstitutionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

import java.util.List;
@Service("Ability_InstitutionServiceImpl")
public class Ability_InstitutionServiceImpl implements Ability_InstitutionService{
  @Autowired
    Ability_InstitutionInforMapper abilityInstitutionInforMapper;
    @Override
    public Ability_InstitutionInfor selectAbility_InstitutionInforById(Integer id) {
        return   abilityInstitutionInforMapper.selectAbility_InstitutionInforById(id);
    }

    @Override
    public Ability_InstitutionInfor selectAbility_InstitutionInforByName(String name) {
      return   abilityInstitutionInforMapper.selectAbility_InstitutionInforByName(name);
    }

    @Override
    public int insertAbility_InstitutionInfor(Ability_InstitutionInfor ability_InstitutionInfor) {
        return abilityInstitutionInforMapper.insertAbility_InstitutionInfor(ability_InstitutionInfor);
    }

    @Override
    public int updateAbility_InstitutionInfor(Ability_InstitutionInfor ability_InstitutionInfor) {

      return abilityInstitutionInforMapper.updateAbility_InstitutionInfor(ability_InstitutionInfor);
    }

    @Override
    public int deleteAbility_InstitutionInforById(Integer id) {

      return abilityInstitutionInforMapper.deleteAbility_InstitutionInforById(id);
    }

    @Override
    public List<Ability_InstitutionInfor> selectAbility_InstitutionInforList() {

        return abilityInstitutionInforMapper.selectAbility_InstitutionInforList();
    }
}
